﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common
{
    public class PModel
    {
        public class PConfig
        {
            public int Id { get; set; }
            public string P_WebPath { get; set; }
            public string P_Title { get; set; }
            public string P_Footer { get; set; }
            public string P_Name { get; set; }
            public string P_Des { get; set; }
            public string P_Key { get; set; }
            public string P_Ipc { get; set; }
            public string P_Tel { get; set; }
            public string P_Fax { get; set; }
            public string P_Add { get; set; }
            public string P_Contact { get; set; }
            public string P_Phone { get; set; }
            public string P_Water { get; set; }
            public int P_WStatus { get; set; }
            public int P_WTrans { get; set; }
            public string P_MapY { get; set; }
            public string P_MapX { get; set; }
            public int P_WSize { get; set; }
        }

        public class PService
        {
            public int Id { get; set; }
            public string STitle { get; set; }
            public string SColor { get; set; }
            public string SPic { get; set; }
            public string SCont { get; set; }
        }

        public class PMenu
        {
            public int Id { get; set; }
            public string MTitle { get; set; }
            public string MCn { get; set; }
            public string MEn { get; set; }
            public string MUrl { get; set; }
            public int Page { get; set; }
            public int PageYm { get; set; }
            public bool MShow { get; set; }
            public bool AShow { get; set; }
            public bool EShow { get; set; }
            public string MInfo { get; set; }
        }

        public class PAd
        {
            public int Id { get; set; }
            public string AName { get; set; }
            public string APic { get; set; }
            public string AUrl { get; set; }
            public string AType { get; set; }
        }

        public class PUsed
        {
            public int Id { get; set; }
            public string UName { get; set; }
            public string UInfo { get; set; }
            public string UColor { get; set; }
            public string UPic { get; set; }
        }

        public class PNews
        {
            public int Id { get; set; }
            public string NTitle { get; set; }
            public string NCont { get; set; }
            public int NHit { get; set; }
            public DateTime NTime { get; set; }
        }

        public class PShow
        {
            public int Id { get; set; }
            public string SName { get; set; }
            public string SPic { get; set; }
        }
    }
}
